package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by pjn on 2017/8/7.
 */
@Entity
@Table(name = "tb_monitor", schema = "hualude_db", catalog = "")
public class MonitorEntity {
    private Integer monitorId;
    private String projectNumber;
    private String monitorLongitude;
    private String monitorLatitude;
    private String monitorProvince;
    private String monitorCity;
    private String monitorArea;
    private String monitorRoadName;
    private String monitorStartRoad;
    private String monitorEndRoad;
    private Integer monitorDirection;
    private Integer monitorPoleShape;
    private String monitorPoleSize;
    private String monitorBrand;
    private Integer monitorPosition;
    private String monitorSize;
    private String monitorInstallTime;
    private String monitorInstallOrg;
    private String monitorPhoto;
    private Integer monitorPeriod;
    private Integer monitorServiceLife;
    private String monitorRemark;
    private Integer monitorCreatorId;
    private Integer monitorModifierId;
    private Integer monitorOrgId;
    private Integer monitorMainOrgId;
    private Integer monitorIsComplete;
    private Integer monitorRegionId;
    private String monitorADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;

    @Id
    @Column(name = "MonitorId")
    @GeneratedValue ( strategy = GenerationType.IDENTITY )
    public Integer getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(Integer monitorId) {
        this.monitorId = monitorId;
    }

    @Basic
    @Column(name = "ProjectNumber")
    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    @Basic
    @Column(name = "MonitorLongitude")
    public String getMonitorLongitude() {
        return monitorLongitude;
    }

    public void setMonitorLongitude(String monitorLongitude) {
        this.monitorLongitude = monitorLongitude;
    }

    @Basic
    @Column(name = "MonitorLatitude")
    public String getMonitorLatitude() {
        return monitorLatitude;
    }

    public void setMonitorLatitude(String monitorLatitude) {
        this.monitorLatitude = monitorLatitude;
    }

    @Basic
    @Column(name = "MonitorProvince")
    public String getMonitorProvince() {
        return monitorProvince;
    }

    public void setMonitorProvince(String monitorProvince) {
        this.monitorProvince = monitorProvince;
    }

    @Basic
    @Column(name = "MonitorCity")
    public String getMonitorCity() {
        return monitorCity;
    }

    public void setMonitorCity(String monitorCity) {
        this.monitorCity = monitorCity;
    }

    @Basic
    @Column(name = "MonitorArea")
    public String getMonitorArea() {
        return monitorArea;
    }

    public void setMonitorArea(String monitorArea) {
        this.monitorArea = monitorArea;
    }

    @Basic
    @Column(name = "MonitorRoadName")
    public String getMonitorRoadName() {
        return monitorRoadName;
    }

    public void setMonitorRoadName(String monitorRoadName) {
        this.monitorRoadName = monitorRoadName;
    }

    @Basic
    @Column(name = "MonitorStartRoad")
    public String getMonitorStartRoad() {
        return monitorStartRoad;
    }

    public void setMonitorStartRoad(String monitorStartRoad) {
        this.monitorStartRoad = monitorStartRoad;
    }

    @Basic
    @Column(name = "MonitorEndRoad")
    public String getMonitorEndRoad() {
        return monitorEndRoad;
    }

    public void setMonitorEndRoad(String monitorEndRoad) {
        this.monitorEndRoad = monitorEndRoad;
    }

    @Basic
    @Column(name = "MonitorDirection")
    public Integer getMonitorDirection() {
        return monitorDirection;
    }

    public void setMonitorDirection(Integer monitorDirection) {
        this.monitorDirection = monitorDirection;
    }

    @Basic
    @Column(name = "MonitorPoleShape")
    public Integer getMonitorPoleShape() {
        return monitorPoleShape;
    }

    public void setMonitorPoleShape(Integer monitorPoleShape) {
        this.monitorPoleShape = monitorPoleShape;
    }

    @Basic
    @Column(name = "MonitorPoleSize")
    public String getMonitorPoleSize() {
        return monitorPoleSize;
    }

    public void setMonitorPoleSize(String monitorPoleSize) {
        this.monitorPoleSize = monitorPoleSize;
    }

    @Basic
    @Column(name = "MonitorBrand")
    public String getMonitorBrand() {
        return monitorBrand;
    }

    public void setMonitorBrand(String monitorBrand) {
        this.monitorBrand = monitorBrand;
    }

    @Basic
    @Column(name = "MonitorPosition")
    public Integer getMonitorPosition() {
        return monitorPosition;
    }

    public void setMonitorPosition(Integer monitorPosition) {
        this.monitorPosition = monitorPosition;
    }

    @Basic
    @Column(name = "MonitorSize")
    public String getMonitorSize() {
        return monitorSize;
    }

    public void setMonitorSize(String monitorSize) {
        this.monitorSize = monitorSize;
    }

    @Basic
    @Column(name = "MonitorInstallTime")
    public String getMonitorInstallTime() {
        return monitorInstallTime;
    }

    public void setMonitorInstallTime(String monitorInstallTime) {
        this.monitorInstallTime = monitorInstallTime;
    }

    @Basic
    @Column(name = "MonitorInstallOrg")
    public String getMonitorInstallOrg() {
        return monitorInstallOrg;
    }

    public void setMonitorInstallOrg(String monitorInstallOrg) {
        this.monitorInstallOrg = monitorInstallOrg;
    }

    @Basic
    @Column(name = "MonitorPhoto")
    public String getMonitorPhoto() {
        return monitorPhoto;
    }

    public void setMonitorPhoto(String monitorPhoto) {
        this.monitorPhoto = monitorPhoto;
    }

    @Basic
    @Column(name = "MonitorPeriod")
    public Integer getMonitorPeriod() {
        return monitorPeriod;
    }

    public void setMonitorPeriod(Integer monitorPeriod) {
        this.monitorPeriod = monitorPeriod;
    }

    @Basic
    @Column(name = "MonitorServiceLife")
    public Integer getMonitorServiceLife() {
        return monitorServiceLife;
    }

    public void setMonitorServiceLife(Integer monitorServiceLife) {
        this.monitorServiceLife = monitorServiceLife;
    }

    @Basic
    @Column(name = "MonitorRemark")
    public String getMonitorRemark() {
        return monitorRemark;
    }

    public void setMonitorRemark(String monitorRemark) {
        this.monitorRemark = monitorRemark;
    }

    @Basic
    @Column(name = "MonitorCreatorId")
    public Integer getMonitorCreatorId() {
        return monitorCreatorId;
    }

    public void setMonitorCreatorId(Integer monitorCreatorId) {
        this.monitorCreatorId = monitorCreatorId;
    }

    @Basic
    @Column(name = "MonitorModifierId")
    public Integer getMonitorModifierId() {
        return monitorModifierId;
    }

    public void setMonitorModifierId(Integer monitorModifierId) {
        this.monitorModifierId = monitorModifierId;
    }

    @Basic
    @Column(name = "MonitorOrgId")
    public Integer getMonitorOrgId() {
        return monitorOrgId;
    }

    public void setMonitorOrgId(Integer monitorOrgId) {
        this.monitorOrgId = monitorOrgId;
    }

    @Basic
    @Column(name = "MonitorMainOrgId")
    public Integer getMonitorMainOrgId() {
        return monitorMainOrgId;
    }

    public void setMonitorMainOrgId(Integer monitorMainOrgId) {
        this.monitorMainOrgId = monitorMainOrgId;
    }

    @Basic
    @Column(name = "MonitorIsComplete")
    public Integer getMonitorIsComplete() {
        return monitorIsComplete;
    }

    public void setMonitorIsComplete(Integer monitorIsComplete) {
        this.monitorIsComplete = monitorIsComplete;
    }

    @Basic
    @Column(name = "MonitorRegionId")
    public Integer getMonitorRegionId() {
        return monitorRegionId;
    }

    public void setMonitorRegionId(Integer monitorRegionId) {
        this.monitorRegionId = monitorRegionId;
    }

    @Basic
    @Column(name = "MonitorADeviceId")
    public String getMonitorADeviceId() {
        return monitorADeviceId;
    }

    public void setMonitorADeviceId(String monitorADeviceId) {
        this.monitorADeviceId = monitorADeviceId;
    }

    @Basic
    @Column(name = "AlarmCount", nullable = true)
    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    @Basic
    @Column(name = "AlarmDeviceId", nullable = true, length = 20)
    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }
}
